package com.example.app.mapper;

import com.example.app.entity.FriendRequest;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FriendRequestMapper {
    void insertFriendRequest(FriendRequest fr);

    List<FriendRequest> findByToUserIdAndStatus(Long toUserId, String status);

    List<Long> findFriendIds(Long userId);

}
